    $(".show_shopping_info_add").click(function () {
        window.alert("添加成功");
        console.log('add');
        var $add = $(this);
        var goodsid = $add.attr('goodsid');
        $.get('/addcart/', {'goodsid': goodsid}, function (data) {
            console.log(data);
            if (data['status'] === 302) {
                window.location.href = "/Login2/";
            } else if (data['status'] === 200) {
                $add.prev('span').html(data['c_goods_num']);
            }
        })
    })
    $(".show_shopping_info_sub").click(function () {
        console.log('sub')

    })